/* @(#)GSPayReceiveAbleBean.java   
 *
 * Project: GS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   Jenny Li    2006-4-20     新增
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * 
 */
public class GSPayReceiveAbleBean implements GSBaseBean {

    private String gs_workcorp_id;
    
    private String gs_workcorp_category;
    private String gs_balance_month;
    private String gs_notes;
    private String gs_workcorp_level;
    private String gs_workcorp_id_group;
    private String gs_fee_type_id;
    private String gs_pay_date;
    private String gs_pay_type;
    private double gs_balance_need;
    private double gs_balance_done;
    private double gs_balance_undone;
    private String gs_offset_date;
    private String gs_pay_status;
    private String gs_principal;
    private String gs_operator_id;
    private String gs_operator_date;
    private String gs_receiveable_id;
    
    public String getGs_receiveable_id() {
		return gs_receiveable_id;
	}

	public void setGs_receiveable_id(String aGs_receiveable_id) {
		gs_receiveable_id = aGs_receiveable_id;
	}

	public Object process(ResultSet aResultSet) throws SQLException {
        GSPayReceiveAbleBean tBean = new GSPayReceiveAbleBean();
        tBean.gs_workcorp_id = aResultSet.getString("GS_WORKCORP_ID");
        tBean.gs_workcorp_category = aResultSet.getString("GS_WORKCORP_CATEGORY");
        tBean.gs_balance_month = aResultSet.getString("GS_BALANCE_MONTH");
        tBean.gs_notes = aResultSet.getString("GS_NOTES")== null? "":aResultSet.getString("GS_NOTES");
        tBean.gs_workcorp_level = aResultSet.getString("GS_WORKCORP_LEVEL");
        tBean.gs_workcorp_id_group = aResultSet.getString("GS_WORKCORP_ID_GROUP");
        tBean.gs_fee_type_id = aResultSet.getString("GS_FEE_TYPE_ID");
        tBean.gs_pay_date = aResultSet.getString("GS_PAY_DATE");
        tBean.gs_pay_type = aResultSet.getString("GS_PAY_TYPE");
        tBean.gs_balance_need = aResultSet.getDouble("GS_BALANCE_NEED");
        tBean.gs_balance_done = aResultSet.getDouble("GS_BALANCE_DONE");
        tBean.gs_balance_undone = aResultSet.getDouble("GS_BALANCE_UNDONE");
        tBean.gs_offset_date  = aResultSet.getString("GS_OFFSET_DATE") == null? "":aResultSet.getString("GS_OFFSET_DATE");
        tBean.gs_pay_status = aResultSet.getString("GS_PAY_STATUS");
        tBean.gs_principal = aResultSet.getString("GS_PRINCIPAL");
        tBean.gs_operator_id = aResultSet.getString("GS_OPERATOR_ID");
        tBean.gs_operator_date = aResultSet.getString("GS_OPERATE_DATE");
        tBean.gs_receiveable_id = aResultSet.getString("GS_RECEIVEABLE_ID");
        return tBean;
    }

    /**
     * @return 返回变量gs_balance_done的值.
     */
    public double getGs_balance_done() {
        return this.gs_balance_done;
    }

    /**
     * @param aGs_balance_done 设定变量gs_balance_done的值.
     */
    public void setGs_balance_done(double aGs_balance_done) {
        this.gs_balance_done = aGs_balance_done;
    }

    /**
     * @return 返回变量gs_balance_month的值.
     */
    public String getGs_balance_month() {
        return this.gs_balance_month;
    }

    /**
     * @param aGs_balance_month 设定变量gs_balance_month的值.
     */
    public void setGs_balance_month(String aGs_balance_month) {
        this.gs_balance_month = aGs_balance_month;
    }

    /**
     * @return 返回变量gs_balance_need的值.
     */
    public double getGs_balance_need() {
        return this.gs_balance_need;
    }

    /**
     * @param aGs_balance_need 设定变量gs_balance_need的值.
     */
    public void setGs_balance_need(double aGs_balance_need) {
        this.gs_balance_need = aGs_balance_need;
    }

    /**
     * @return 返回变量gs_balance_undone的值.
     */
    public double getGs_balance_undone() {
        return this.gs_balance_undone;
    }

    /**
     * @param aGs_balance_undone 设定变量gs_balance_undone的值.
     */
    public void setGs_balance_undone(double aGs_balance_undone) {
        this.gs_balance_undone = aGs_balance_undone;
    }

    /**
     * @return 返回变量gs_fee_type_no的值.
     */
    public String getGs_fee_type_id() {
        return this.gs_fee_type_id;
    }

    /**
     * @param aGs_fee_type_no 设定变量gs_fee_type_no的值.
     */
    public void setGs_fee_type_id(String aGs_fee_type_id) {
        this.gs_fee_type_id = aGs_fee_type_id;
    }

    /**
     * @return 返回变量gs_notes的值.
     */
    public String getGs_notes() {
        return this.gs_notes;
    }

    /**
     * @param aGs_notes 设定变量gs_notes的值.
     */
    public void setGs_notes(String aGs_notes) {
        this.gs_notes = aGs_notes;
    }

    /**
     * @return 返回变量gs_offset_date的值.
     */
    public String getGs_offset_date() {
        return this.gs_offset_date;
    }

    /**
     * @param aGs_offset_date 设定变量gs_offset_date的值.
     */
    public void setGs_offset_date(String aGs_offset_date) {
        this.gs_offset_date = aGs_offset_date;
    }

    /**
     * @return 返回变量gs_operator_date的值.
     */
    public String getGs_operator_date() {
        return this.gs_operator_date;
    }

    /**
     * @param aGs_operator_date 设定变量gs_operator_date的值.
     */
    public void setGs_operator_date(String aGs_operator_date) {
        this.gs_operator_date = aGs_operator_date;
    }

    /**
     * @return 返回变量gs_operator_id的值.
     */
    public String getGs_operator_id() {
        return this.gs_operator_id;
    }

    /**
     * @param aGs_operator_id 设定变量gs_operator_id的值.
     */
    public void setGs_operator_id(String aGs_operator_id) {
        this.gs_operator_id = aGs_operator_id;
    }

    /**
     * @return 返回变量gs_pay_date的值.
     */
    public String getGs_pay_date() {
        return this.gs_pay_date;
    }

    /**
     * @param aGs_pay_date 设定变量gs_pay_date的值.
     */
    public void setGs_pay_date(String aGs_pay_date) {
        this.gs_pay_date = aGs_pay_date;
    }

    /**
     * @return 返回变量gs_pay_status的值.
     */
    public String getGs_pay_status() {
        return this.gs_pay_status;
    }

    /**
     * @param aGs_pay_status 设定变量gs_pay_status的值.
     */
    public void setGs_pay_status(String aGs_pay_status) {
        this.gs_pay_status = aGs_pay_status;
    }

    /**
     * @return 返回变量gs_pay_type的值.
     */
    public String getGs_pay_type() {
        return this.gs_pay_type;
    }

    /**
     * @param aGs_pay_type 设定变量gs_pay_type的值.
     */
    public void setGs_pay_type(String aGs_pay_type) {
        this.gs_pay_type = aGs_pay_type;
    }

    /**
     * @return 返回变量gs_principal的值.
     */
    public String getGs_principal() {
        return this.gs_principal;
    }

    /**
     * @param aGs_principal 设定变量gs_principal的值.
     */
    public void setGs_principal(String aGs_principal) {
        this.gs_principal = aGs_principal;
    }

    /**
     * @return 返回变量gs_workcorp_category的值.
     */
    public String getGs_workcorp_category() {
        return this.gs_workcorp_category;
    }

    /**
     * @param aGs_workcorp_category 设定变量gs_workcorp_category的值.
     */
    public void setGs_workcorp_category(String aGs_workcorp_category) {
        this.gs_workcorp_category = aGs_workcorp_category;
    }

    /**
     * @return 返回变量gs_workcorp_id的值.
     */
    public String getGs_workcorp_id() {
        return this.gs_workcorp_id;
    }

    /**
     * @param aGs_workcorp_id 设定变量gs_workcorp_id的值.
     */
    public void setGs_workcorp_id(String aGs_workcorp_id) {
        this.gs_workcorp_id = aGs_workcorp_id;
    }

    /**
     * @return 返回变量gs_workcorp_id_group的值.
     */
    public String getGs_workcorp_id_group() {
        return this.gs_workcorp_id_group;
    }

    /**
     * @param aGs_workcorp_id_group 设定变量gs_workcorp_id_group的值.
     */
    public void setGs_workcorp_id_group(String aGs_workcorp_id_group) {
        this.gs_workcorp_id_group = aGs_workcorp_id_group;
    }

    /**
     * @return 返回变量gs_workcorp_level的值.
     */
    public String getGs_workcorp_level() {
        return this.gs_workcorp_level;
    }

    /**
     * @param aGs_workcorp_level 设定变量gs_workcorp_level的值.
     */
    public void setGs_workcorp_level(String aGs_workcorp_level) {
        this.gs_workcorp_level = aGs_workcorp_level;
    }

}
